<?php



/**
 * Exit the script when IN_lico_admin is not defined
 */
if (!defined('IN_lico')) {
	exit;
}


require_once($lico['libs_path']."/database.class.".$SUFFIX);
$db = new BP_DB($MYSQLDATA['HOST'], $MYSQLDATA['USER'], $MYSQLDATA['PASSWD'], $MYSQLDATA['DB'], 0);
$db->setDebug(0); 



$lico['mysqlversion'] = preg_replace("`^([0-9]+\.[0-9]+\.[0-9]+)[\-]*.*$`", "\\1", mysql_get_server_info());
$lico['phpversion'] = preg_replace("`^([0-9]+\.[0-9]+\.[0-9]+)[\-]*.*$`", "\\1", phpversion());


$lico['oldmysql'] = false;
if (version_compare($lico['mysqlversion'], "4.1", "<")) {
	$lico['oldmysql'] = true;
}


if ($lico['oldmysql'] === true) {
	$addcharset = "";
} else {
	$addcharset = " DEFAULT CHARSET=utf8";
}





?>